<main style="height: 400px;">
  <h2 style="margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    width: 120px;
    text-align: center;">你已登录</h2>
</main>
